/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tesam.gedeon.dao;

import com.tesam.gedeon.entity.Provider;
import java.util.List;

/**
 *
 * @author joelpacheco
 */
public interface ProviderDao {

    public int save(Provider provider);

    public int delete(Provider provider);

    public int update(Provider provider);

    public Provider getById(int providerId);

    public List<Provider> getAll();

    public List<Provider> getAllByLimit(int startLimit, int endLimit, String dataToSort, String directionOfOrder);

    public List<Provider> searchByName(Provider provider, int satartLimit, int endLimit);

    public int getCountSearchByName(Provider provider);

    public int getCountTotal();
}
